package com.jdone.compus.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;

@JsonIgnoreProperties(ignoreUnknown = true)
public class RemoteOrderDto {
    @JsonProperty("outOrderNo")
    private String outOrderNo;

    @JsonProperty("orderAmount")
    private BigDecimal orderAmount; // 远端以分为单位（文档中提到“单位为分”）

    @JsonProperty("status")
    private Integer status;

    @JsonProperty("createTime")
    private String createTime; // "yyyy-MM-dd HH:mm:ss"

    @JsonProperty("payTime")
    private String payTime;

    @JsonProperty("transactionId")
    private String transactionId;

    @JsonProperty("deviceId")
    private String deviceId;

    @JsonProperty("openId")
    private String openId;

    @JsonProperty("subject")
    private String subject;

}
